<template>
  <div class="demo">
    <div class="demo-title">半星</div>
    <div class="demo-content">
      <Rate v-model:value="value" allow-half />
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Rate from '@sscd/rate';
  const value = ref<number>(2.5);
</script>
